projects
/
cargo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c368d6a
)
show warnings for all members of the workspace
author
Andy Russell
<arussell123@gmail.com>
Wed, 16 Nov 2016 21:04:31 +0000
(16:04 -0500)
committer
Andy Russell
<arussell123@gmail.com>
Thu, 8 Dec 2016 21:11:19 +0000
(16:11 -0500)
src/cargo/ops/cargo_compile.rs
patch
|
blob
|
history
diff --git
a/src/cargo/ops/cargo_compile.rs
b/src/cargo/ops/cargo_compile.rs
index e086315936a6aa489f750677b6189e0e592f7b80..a0e70e9ba3f7105e174e0dbf4ce3bf8161e56d98 100644
(file)
--- a/
src/cargo/ops/cargo_compile.rs
+++ b/
src/cargo/ops/cargo_compile.rs
@@
-98,8
+98,8
@@
pub enum CompileFilter<'a> {
pub fn compile<'a>(ws: &Workspace<'a>, options: &CompileOptions<'a>)
-> CargoResult<ops::Compilation<'a>> {
-
if let Some(root_package) = ws.current_opt
() {
- for key in
root_package
.manifest().warnings().iter() {
+
for member in ws.members
() {
+ for key in
member
.manifest().warnings().iter() {
options.config.shell().warn(key)?
}
}